/*
 * 创建用户：mleo
 * 项目名称：demo
 * 模块名称：demo
 * 文件名称：UserInfo
 * 修改时间：2017/11/14 13:55:27
 * Copyright (c) 2017.
 */

package com.ichochy.poi.xssf.model.dto;

import com.ichochy.poi.xssf.FormatType;

import java.util.Date;

/**
 * Created by MLeo on 17/5/19.
 */
public class UserInfo {
    @FormatType(title = "姓名")
    private String name;
    @FormatType(title="年龄",align = FormatType.align.left)
    private int age;
    @FormatType(title="类型",align = FormatType.align.right)
    private Integer type;
    @FormatType(title="生日",width=6,align = FormatType.align.center,format = "YYYY/MM/DD HH:mm:ss")
    private Date birthday;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
